﻿using HomagChina.Basic.CCT.Db.CCT_Db;
using HomagGroup.Base.UI;
using HomagGroup.Base.UI.Controls;
using Proxy;
using System.Collections.ObjectModel;

namespace HomagChina.CCT.ViewModels
{
    public class HomeCacheDetailViewModel : NotifyPropertyChangedBase
    {
        private ObservableCollection<BoardInfoModel> catchDetailsList;

        public ObservableCollection<BoardInfoModel> CatchDetailsList
        {
            get => catchDetailsList;
            set { catchDetailsList = value; OnPropertyChanged(); }
        }

        #region Handle

        private SearchInfoHandle Handle_Search;
        private InsertInfoHandle Handle_Insert;
        private ModifyInfoHandle Handle_modify;

        #endregion Handle

        #region 属性

        //页面加载
        public RelayCommand LoadedCommand { get; }

        #endregion 属性

        #region components

        public DropDownList DropDownList_Location { get; set; }

        public DropDownList DropDownList_Template { get; set; }

        public InputField _InputField { get; set; }

        public InputField InputField
        {
            get => _InputField;
            set { _InputField = value; }
        }

        private T_TransOnlineRecords T_Online;

        #endregion components

        //构造函数
        public HomeCacheDetailViewModel()
        {
            Handle_Search = new SearchInfoHandle();
        }
    }
}